From d84f24e4fdf5a9d0804d780114cdab7a621a34b3 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 4 Dec 2025 17:54:23 +0100 Subject: [PATCH] doxygen-hip Gbp-Pq: Name doxygen-hip --- doc/doxygen.cfg | 1 + doc/doxygen/doxygen_filter.sh.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/doxygen.cfg b/doc/doxygen.cfg index 82d8e36..5edefcc 100644 --- a/doc/doxygen.cfg +++ b/doc/doxygen.cfg @@ -1635,6 +1635,7 @@ PREDEFINED = STARPU_USE_OPENCL=1 \ STARPU_HAVE_GLPK_H=1 \ STARPU_USE_MPI_MASTER_SLAVE=1 \ STARPU_BUBBLE=1 \ + __HIP_PLATFORM_AMD__=1 \ __GCC__ # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then diff --git a/doc/doxygen/doxygen_filter.sh.in b/doc/doxygen/doxygen_filter.sh.in index d61235d..ebb4529 100755 --- a/doc/doxygen/doxygen_filter.sh.in +++ b/doc/doxygen/doxygen_filter.sh.in @@ -15,7 +15,7 @@ # See the GNU Lesser General Public License in COPYING.LGPL for more details. # if [ "$(basename $1)" == "starpufft.h" ] ; then - gcc -E $1 -I @top_srcdir@/include/ -I @top_builddir@/include/ |grep -i starpufft + gcc -D__HIP_PLATFORM_AMD__ -E $1 -I @top_srcdir@/include/ -I @top_builddir@/include/ |grep -i starpufft else # the macro STARPU_DEPRECATED needs to be removed as it is not properly processed by doxygen # lines starting with // in the doxygen input files are considered as comments to be removed -- 2.30.2